<%@page import="com.tubeonfire.entity.SiteConfig"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	SiteConfig siteConfig = (SiteConfig)request.getAttribute("siteConfig");
%>
<jsp:include page="/admin/elements/header.jsp">
	<jsp:param value="Slideshow Form" name="title"/>
</jsp:include>
<script type="text/javascript" src="/admin/js/mine/admin.js"></script>

	<body class="loggedin">
		<jsp:include page="/admin/elements/top.jsp"/>
	    <!-- START OF MAIN CONTENT -->
	    <div class="mainwrapper">
	     	<div class="mainwrapperinner">         	        
				<jsp:include page="/admin/elements/left.jsp">
					<jsp:param value="config" name="current_page"/>
				</jsp:include>				              	                   
	        	<div class="maincontent noright">
	        		<%
	        			if(siteConfig!=null){
	        		%>
	        		<div class="maincontentinner">	            	
		                <ul class="maintabmenu">
		                	<li><a href="/admin/config?obj=system">System</a></li>
		                	<li><a href="/admin/config?obj=cache">Cache</a></li>
		                	<li><a href="/admin/config?obj=logo">Logo</a></li>
		                	<li><a href="/admin/config?obj=seo">SEO</a></li>
                			<li><a href="/admin/config?obj=social">Social</a></li>
                			<li class="current"><a href="/admin/config?obj=slideshow">Slideshow</a></li>
		                </ul><!--maintabmenu-->	                
	                	<div class="content">	
	                	<jsp:include page="/admin/elements/message.jsp"/>
	                	<div id="messageDiv" class="notification hidden">						   
						    <p></p>
						</div>	   	                    
	                    	<div class="contenttitle">
	                    		<h2 class="image"><span>Choose Slide Style</span></h2>
	                    	</div>
	                    	<br />
		                    <form class="stdform" action="/admin/config" method="post" id="configForm">
		                    <input type="hidden" name="obj" value="slideshow">                  	
	                        	<div class="slideoption">                                        	
                                     <label>
                                     	<img src="/images/option1.gif" />                                                
                                     	<p><input type="radio" <%=(siteConfig.getSlideStyle().equals("diagonal-blocks"))?"checked='checked'":""%> name="slideOption" value="diagonal-blocks" />Diagonal Blocks</p>
                                     </label>
                                 </div>
                                 <div class="slideoption">
                                 	<label>
                                     	<img src="/images/option2.gif" />
                                     	<p><input type="radio" <%=(siteConfig.getSlideStyle().equals("winding-blocks"))?"checked='checked'":""%> name="slideOption" value="winding-blocks" />Winding Blocks</p>
                                     </label>                                        	
                                 </div>
                                  <div class="slideoption">
                                  	<label>
                                      	<img src="/images/option3.gif" />
                                      	<p><input type="radio" <%=(siteConfig.getSlideStyle().equals("randomized-blocks"))?"checked='checked'":""%> name="slideOption" value="randomized-blocks"/>Randomized Blocks</p>
                                      </label>                                        	
                                  </div>                                 
                                  <div class="slideoption">
                                  	<label>
                                      	<img src="/images/option4.gif" />
                                      	<p><input type="radio" <%=(siteConfig.getSlideStyle().equals("droping-curtain"))?"checked='checked'":""%> name="slideOption" value="droping-curtain"/>Dropping Curtain</p>
                                      </label>                                        	
                                  </div>
                                    <div class="slideoption">
                                    	<label>
                                        	<img src="/images/option5.gif" />
                                        	<p><input <%=(siteConfig.getSlideStyle().equals("fading_curtain"))?"checked='checked'":""%> type="radio" name="slideOption" value="fading_curtain"/>Fading Curtain</p>
                                        </label>                                        	
                                    </div>
                                    <div class="slideoption">
                                    	<label>
                                        	<img src="/images/option6.gif" />
                                        	<p><input <%=(siteConfig.getSlideStyle().equals("fading-top-curtain"))?"checked='checked'":""%> type="radio" name="slideOption" value="fading-top-curtain"/>Fading Top Curtain</p>
                                        </label>                                        	
                                    </div>                                    
                                    <div class="slideoption">
                                    	<label>
                                        	<img src="/images/option7.gif" />
                                        	<p><input <%=(siteConfig.getSlideStyle().equals("fullwidth-fade-slider"))?"checked='checked'":""%> type="radio" name="slideOption" value="fullwidth-fade-slider"/>Fullwidth Fade Slider</p>
                                        </label>                                        	
                                    </div>
                                    <div class="slideoption">
                                    	<label>
                                        	<img src="/images/option8.gif" />
                                        	<p><input <%=(siteConfig.getSlideStyle().equals("direction-fade-slider"))?"checked='checked'":""%> type="radio" name="slideOption" value="direction-fade-slider"/>Direction Fade Slider</p>
                                        </label>                                        	
                                    </div>
                                    <br clear="all" />    
                                    <p class="note">Image in this section and the slideshow are from <a href="http://aviathemes.com/aviaslider/index.html">aviaslider</a></p>                                                                                                                                      
                        			<br clear="all" />                  
		                        <p class="stdformbutton">
		                        	<button class="submit radius2" id="btnSubmit">Submit</button>
		                            <input type="reset" class="reset radius2" value="Reset" />		                            		                           
		                        </p>                                                
                    		</form>             
	                    <br /><br />	                    
	                </div><!--content-->	                
	            </div><!--maincontentinner-->
	            <%
	        			}
	            %>
				<jsp:include page="/admin/elements/bottom.jsp"></jsp:include>                    	           	
	        </div><!--maincontent-->	                        
	     	</div><!--mainwrapperinner-->
	    </div><!--mainwrapper-->
		<!-- END OF MAIN CONTENT -->    
	</body>
</html>
